package com.xhsj.user.generalprocess.entity;

import com.baomidou.mybatisplus.annotation.Version;
import com.xhsj.user.hr.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 通用流程节点表
 * </p>
 *
 * @author suxiaolin
 * @since 2021-01-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_pam_general_node")
public class TbPamGeneralNode extends BaseEntity<TbPamGeneralNode> {

    private static final long serialVersionUID = 1L;

    /**
     * 节点id
     */
    @TableField("node_id")
    private Long nodeId;

    /**
     * 节点名称
     */
    @TableField("node_name")
    private String nodeName;

    /**
     * 下一节点
     */
    @TableField("next_node")
    private Long nextNode;

    /**
     * 状态 0 通过 1 退回
     */
    @TableField("status")
    private Integer status;

    /**
     * 节点类型 1 开始节点 2 正常节点 3 结束节点
     */
    @TableField("node_type")
    private Integer nodeType;

    /**
     * 流程类型
     */
    @TableField("process_type")
    private String processType;

    /**
     * 流程执行顺序
     */
    @TableField("exec_order")
    private Integer execOrder;


}
